package com.net.service;

import com.net.pojo.PageResult;
import com.net.pojo.TbBrand;

import java.util.List;

public interface BrandService {
    //1.查询所有品牌
    List<TbBrand> findAll();

    //2.条件查询带分页
    PageResult search(TbBrand brand, int page, int pageSize);

    //3.添加品牌
    void add(TbBrand brand);

    //4.修改品牌
    void update(TbBrand brand);

    //5.根据数组列表删除品牌
    void delete(Long[] ids);
}
